<?php

//require_once('database_connection.php');
require_once 'database_connection.php';

$date = date('Y-m-d H:i:s');
$insertQuery = "INSERT INTO `users` SET
`name` = 'Rasmus Lerdorf',
`email` = 'zeev@andi.com',
`password`= '1q1q1q',
`register_date`='$date',
`status` = '0' ";

echo $insertQuery;

mysql_query($insertQuery) or die(mysql_error());

echo "\n\n";
echo mysql_insert_id();
